package com.ssy.lingxi.order.model.bo;

import com.ssy.lingxi.order.model.vo.basic.response.OrderDeliverySummaryVO;
import com.ssy.lingxi.order.model.vo.basic.response.OrderProductSummaryVO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 订单商品汇总信息、订单收发货商品汇总
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-20
 */
public class OrderProductSummaryBO implements Serializable {
    private static final long serialVersionUID = -3043192959439762571L;

    public OrderProductSummaryBO() {
        this.productSummary = new OrderProductSummaryVO();
        this.deliverySummaries = new ArrayList<>();
    }

    /**
     * 是否已经全部发货
     */
    private Boolean deliveryDone;

    /**
     * 是否已经全部收货
     */
    private Boolean receiveDone;

    /**
     * 订单商品汇总
     */
    private OrderProductSummaryVO productSummary;

    /**
     * 订单收发货商品汇总
     */
    private List<OrderDeliverySummaryVO> deliverySummaries;

    public Boolean getDeliveryDone() {
        return deliveryDone;
    }

    public void setDeliveryDone(Boolean deliveryDone) {
        this.deliveryDone = deliveryDone;
    }

    public Boolean getReceiveDone() {
        return receiveDone;
    }

    public void setReceiveDone(Boolean receiveDone) {
        this.receiveDone = receiveDone;
    }

    public OrderProductSummaryVO getProductSummary() {
        return productSummary;
    }

    public void setProductSummary(OrderProductSummaryVO productSummary) {
        this.productSummary = productSummary;
    }

    public List<OrderDeliverySummaryVO> getDeliverySummaries() {
        return deliverySummaries;
    }

    public void setDeliverySummaries(List<OrderDeliverySummaryVO> deliverySummaries) {
        this.deliverySummaries = deliverySummaries;
    }
}
